package com.company.oa.meeting.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 会议附件实体类
 */
@Data
@TableName("meeting_attachment")
public class MeetingAttachment implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 会议ID
     */
    private Long meetingId;

    /**
     * 附件名称
     */
    private String name;

    /**
     * 附件路径
     */
    private String path;

    /**
     * 附件大小(字节)
     */
    private Long size;

    /**
     * 附件类型
     */
    private String type;

    /**
     * 上传人ID
     */
    private Long uploaderId;

    /**
     * 上传人姓名
     */
    private String uploaderName;

    /**
     * 上传时间
     */
    private LocalDateTime uploadTime;

    /**
     * 是否删除：0-未删除，1-已删除
     */
    private Integer isDeleted;
} 